package com.hoas.quickstart.threads.chapter01.chapter01_7_4;

public class Run {

    public static void main(String[] args) {

        try {
            MyThread thread = new MyThread();
            thread.start();
            Thread.sleep(200);
            thread.interrupt();
            System.out.println("end");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }

}
